package com.it.park.dao;

import java.util.List;

import com.it.park.model.Protocol;

public interface ProtocolMapper {

	int deleteByPrimaryKey(Integer id);

    int insert(Protocol record);

    int insertSelective(Protocol record);

    Protocol selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Protocol record);

    int updateByPrimaryKey(Protocol record);
    
    List<Protocol> selectAll();
    
    /**
     * 最新的协议内容
     * @return
     */
    Protocol selectLatestProtocol();
}